//
//  CZCommentCell.swift
//  GZWeibo666
//
//  Created by gaopeng on 15/12/1.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class CZCommentCell: UITableViewCell {

    var commentContent : CZCommentContent?{
        didSet{
            commentLabel.text = commentContent?.text
            dateLabel.text = commentContent?.created_at
            commentLabel.textColor = UIColor.blackColor()
            dateLabel.textColor = UIColor.blackColor()
            print("\(commentContent?.text)")
            print("\(commentContent?.created_at)")
        }
    }
    @IBOutlet weak var commentLabel: UILabel!
    @IBOutlet weak var dateLabel: UILabel!
    @IBOutlet weak var nameLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }

//    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
//        super.init(style: style, reuseIdentifier: reuseIdentifier)
//        
//    }
//
//    required init?(coder aDecoder: NSCoder) {
//        fatalError("init(coder:) has not been implemented")
//    }
}
